<template>
    <div class="container">
        <div class="row">
            <div class="col-md-8 col-md-offset-2">
                <div class="panel panel-default">
                    <div class="panel-heading">Example Component</div>

                    <div class="panel-body" @click="onClick">
                        {{test}}
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
  data() {
    return {
      test: 'test'
    };
  },
  methods: {
    onClick() {
      console.log('here');
    }
  }
};
</script>

<style scoped>
.panel-body {
  background: #e64340;
}
</style>

